package com.ikas.ai.framework.core.listener;

import com.ikas.ai.framework.core.event.Event;

/**
 * @Description: 设备测点监听器接口
 * @Author: qi.yilai
 * @Date: 2022/6/16 15:06
 * @Version: 1.0.0
 **/
public interface Listener<E extends Event> {

    /**
     * 触发事件
     *
     * @param event
     * @return
     */
    boolean fireEvent(E event);
}
